//
//  ZDColorConfig.h
//  ZHIDOU
//
//  Created by 向礼 on 2018/12/19.
//  Copyright © 2018 向礼. All rights reserved.
//

#ifndef ZDColorConfig_h
#define ZDColorConfig_h

/** 颜色 */
#define UIColorFromRGB(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]

/** RGB */
#define ZD_UIColorRGB(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0]
#define ZD_UIColorRGB_alpha(r, g, b,_alpha) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:_alpha]

/** 主题黑 */
#define MC_blackColor [UIColor colorWithRed:78/255.0 green:78/255.0 blue:78/255.0 alpha:1]

/** 主题背景色 */
#define ZD_backgroundColor UIColorFromRGB(0xf3f3f3)


#endif /* ZDColorConfig_h */
